﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            //Student stu = new Student();//创建一个学生对象。学生类的实例化

            //stu.Name = "张三";
            //Console.WriteLine(stu.Name);
            //stu.Introduce();

            Teacher teacher = new Teacher();

            teacher.CourseName = "英语";
            teacher.IdNum = 63464;
            teacher.TeacherName = "李四";

            teacher.printMsg();
        }
    }
}
